//
//  DataSummaryTitleView.swift
//  TimeBoat
//
//  Created by bo wang on 2022/8/25.
//  Copyright © 2022 Time Boat. All rights reserved.
//

import UIKit

class DataSummaryTopRightBtn: UIView {

    @IBOutlet var dots: [UIView]!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        dots.forEach { v in
            v.layer.masksToBounds = true
            v.layer.cornerRadius = v.bounds.height / 2
        }
    }
}

class DataSummaryTitleView: UIView {

    @IBOutlet var effectView: UIVisualEffectView!
    @IBOutlet var titleLabel: UILabel!
    @IBOutlet var stateLabel: UILabel!
    @IBOutlet var newFlagView: UIView!
    @IBOutlet var rightBtn: DataSummaryTopRightBtn!

    @IBAction func onTapRightBtn(_ btn: UIButton) {
        // TODO:
    }
}
